package cn.iocoder.yudao.module.api.brokerage.record.message;

import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 推广人员佣金结算消息
 *
 * @author 山野羡民
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommissionUnfreezeMessage {

    @NotNull(message = "用户编号不能为空")
    private Long userId;

    @NotNull(message = "交易单号不能为空")
    private String tradeNo;

    @NotNull(message = "实付金额不能为空")
    private Integer payPrice;

    @NotNull(message = "佣金不能为空")
    private Integer settlementMoney;

}
